# 人生苦短,我用Python-邓万鹏
import os

import pytest

if __name__ == "__main__":

    os.system("rd /s/q temp")
    os.system("rd /s/q report")
    # 用例执行
    pytest.main(["-s", "test_web_demo.py", "--alluredir", "./temp"])
    os.system('allure generate ./temp -o ./report --clean')